/* eslint-disable indent */
'use strict'

module.exports = {
    AppauthCreate: {
        appid: { type: 'string', required: true, description: '应用ID', message: '应用ID不能为空' },
        secret: { type: 'string', required: true, description: '密钥', message: '密钥不能为空' },
        app_name: { type: 'string', required: false, description: '应用名称', message: '应用名称不能为空' },
        place_id: { type: 'number', required: true, description: '门店ID', message: '门店ID不能为空' },
        status: { type: 'number', required: false, description: '状态', message: '状态不能为空' }
    },

    AppauthEdit: {
        appid: { type: 'string', required: true, description: '应用ID', message: '应用ID不能为空' }
    }

}
